<template>
    <div class="wrapper" ref="wrapper">
        <div class="content">
            <slot></slot>
        </div>
    </div>
</template>

<script>
import BScroll from 'better-scroll'

export default {
  data(){
    return{}
  },
  mounted() {
    //   console.log(BScroll)
    const bscroll=new BScroll(this.$refs.wrapper,{
           probeType:3,
           observeDOM:true,
           click:true,
          // mouseWheel:true,
    })
    bscroll.on('scroll',(options)=>{
      // console.log(options)
    })
  },
}
</script>

<style scoped>
    
</style>